﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.Collections.ObjectModel;
using System.Collections;

namespace Barbar.Colonization.Core.Localization.XmlProvider {
  [XmlTypeAttribute(Namespace = XmlTranslatorFactory.NamespaceDescription)]
  public class Key {
    private string m_Code;
    private Collection<Item> m_Items = new Collection<Item>();

    [XmlAttribute(AttributeName="code")]
    public string Code {
      get { return m_Code; }
      set { m_Code = value; }
    }

    public Collection<Item> Items {
      get { return m_Items; }
    }
  }
}
